#include "UserService.h"
#include <cstdio>

int main()
{
	char *buf[10];
	buf[0] = new char[100];
	UserService user;
	user.getConnection();
	user.sendApp("./AGENT", "APP");
	user.sendInput("./SCHED", "INPUT");
	user.sendSched("./SCHED", "SCHED");
	user.sendPara(3.14, 1);
	user.recvResults(buf);
	printf("%s", buf[0]);
	delete buf[0];
	return 0;
}
